package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公寓下的小区
 * </p>
 *
 * @author hans.zhang
 * @since 2023-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_apartment_area")
@Schema(description="公寓下的小区")
public class RoomApartmentArea extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "公寓ID")
    private Long apartmentId;
    @Schema(description = "关联小区ID")
    private Long roomAreaId;

    @Schema(description = "集中式?")
    private Boolean isConcentrated;

    @Schema(description = "栋")
    private String buildingNo;

    @Schema(description = "单元")
    private String unitNo;

    @Schema(description = "小区")
    private String area;
    @Schema(description = "省")
    private String province;
    @Schema(description = "市")
    private String city;
    @Schema(description = "区")
    private String district;

    @Schema(description = "街道")
    private String street;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "楼层数")
    private Integer floorNum;

    @Schema(description = "地上楼层数")
    private Integer groundFloorNum;

    @Schema(description = "每层房间数")
    private Integer floorRoomNum;

    @Schema(description = "总房间数")
    private Integer roomNum;

    @Schema(description = "维度")
    private String latitude;

    @Schema(description = "经度")
    private String longitude;


}
